/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.uha.ensisa.kfetmanager.category;

import java.util.Iterator;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author JC
 */
@Remote
public interface CustomerCategoryManagerRemote {

    CustomerCategory createCategory(CustomerCategory category, String label);

    CustomerCategory updateCategory(CustomerCategory category, String label);

    CustomerCategory getCategory(Long id);

    List<CustomerCategory> getCategories();

    Iterator<CustomerCategory> iterator();

    void deleteCategory(CustomerCategory category);

    boolean exists(String label);
    
}
